package com.epcm.admin.epcm.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.epcm.admin.epcm.project.entity.Project;
import com.epcm.admin.epcm.project.param.ProjectParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 项目清单Mapper
 *
 * @author linktoyl@163.com
 * @since 2023-10-18 01:39:33
 */
public interface ProjectMapper extends BaseMapper<Project> {

    /**
     * 分页查询
     *
     * @param page  分页对象
     * @param param 查询参数
     * @return List<Project>
     */
    List<Project> selectPageRel(@Param("page") IPage<Project> page,
                             @Param("param") ProjectParam param);

    /**
     * 查询全部
     *
     * @param param 查询参数
     * @return List<User>
     */
    List<Project> selectListRel(@Param("param") ProjectParam param);

}
